package com.slofzx.nuoda.evaluation.project.dto;

import java.util.Date;

import com.slofzx.nuoda.common.dto.PageDTO;

/**
 * 评价任务信息表数据传递类
 *
 * @author nuoda
 * @since 2023-08-21 08:59:06
 */
public class EvaTaskInfoDTO extends PageDTO {
    private static final long serialVersionUID = -15976405721247959L;
    /**
     * 主键
     */
    private String id;
    /**
     * 名称
     */
    private String name;
    /**
     * 公共参数关联ID
     */
    private String commonParamId;
    /**
     * 模型关联ID
     */
    private String modelId;
    /**
     * 评价周期
     */
    private Integer evaPeriod;
    /**
     * 评价开始年
     */
    private Double calculateYearStart;

    /**
     * 是否锁定
     */
    private boolean locked;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 查询的时间范围
     */
    private String[] createDate;

    public EvaTaskInfoDTO() {
        //默认查询不分页
        this.pageSize = PageDTO.ALL;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCommonParamId() {
        return commonParamId;
    }

    public void setCommonParamId(String commonParamId) {
        this.commonParamId = commonParamId;
    }

    public String getModelId() {
        return modelId;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId;
    }

    public Integer getEvaPeriod() {
        return evaPeriod;
    }

    public void setEvaPeriod(Integer evaPeriod) {
        this.evaPeriod = evaPeriod;
    }

    public Double getCalculateYearStart() {
        return calculateYearStart;
    }

    public void setCalculateYearStart(Double calculateYearStart) {
        this.calculateYearStart = calculateYearStart;
    }

    public boolean isLocked() {
        return locked;
    }

    public void setLocked(boolean locked) {
        this.locked = locked;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String[] getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String[] createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "EvaTaskInfo{" +
                ",id=" + id +
                ",name=" + name +
                ",commonParamId=" + commonParamId +
                ",modelId=" + modelId +
                ",evaPeriod=" + evaPeriod +
                ",calculateYearStart=" + calculateYearStart +
                "}";
    }

}
